package com.xposed.aliproxy.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DBOpenHelper extends SQLiteOpenHelper {
    public void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i2) {
    }

    public DBOpenHelper(Context context) {
        super(context, "data.db", null, 1);
    }

    public void onCreate(SQLiteDatabase sQLiteDatabase) {
        sQLiteDatabase.execSQL("create table tab_qrdata(id integer primary key autoincrement,agentId text,aliAccount text,batch text,amount text,date text,remark text,qrCode text,status text)");
        sQLiteDatabase.execSQL("create table tab_alitrade(id integer primary key autoincrement,agentId text,aliAccount text,localDate text,amount text,date text,remark text,outAliId text,tradeNo text,name text,aliBalance text,type text,status text)");
    }
}
